package work1.work3.chat;

import java.util.Scanner;

public class ChatTest {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.println("请选择你要用那个");
        System.out.println("1-----微博\n2-----微信");
        int a=in.nextInt();
        ChatFactory cf=new ChatFactory();
        ChatTool chatToolt = cf.GetTool(a);
        chatToolt.send();
    }
}
